/**
 * This is my code.
 *
 * $Id$
 */
package fi.jab.esb.config.xml;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Simple Schedule Type</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link fi.jab.esb.config.xml.SimpleScheduleType#getExecCount <em>Exec Count</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.SimpleScheduleType#getFrequency <em>Frequency</em>}</li>
 * </ul>
 * </p>
 *
 * @see fi.jab.esb.config.xml.XmlPackage#getSimpleScheduleType()
 * @model extendedMetaData="name='simple-schedule_._type' kind='elementOnly'"
 * @generated
 */
public interface SimpleScheduleType extends Schedule
{
  /**
   * Returns the value of the '<em><b>Exec Count</b></em>' attribute.
   * The default value is <code>"-1"</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * Schedule execution count. -1 to execute indefinitely.
   * <!-- end-model-doc -->
   * @return the value of the '<em>Exec Count</em>' attribute.
   * @see #isSetExecCount()
   * @see #unsetExecCount()
   * @see #setExecCount(int)
   * @see fi.jab.esb.config.xml.XmlPackage#getSimpleScheduleType_ExecCount()
   * @model default="-1" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
   *        extendedMetaData="kind='attribute' name='execCount'"
   * @generated
   */
  int getExecCount();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.SimpleScheduleType#getExecCount <em>Exec Count</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Exec Count</em>' attribute.
   * @see #isSetExecCount()
   * @see #unsetExecCount()
   * @see #getExecCount()
   * @generated
   */
  void setExecCount(int value);

  /**
   * Unsets the value of the '{@link fi.jab.esb.config.xml.SimpleScheduleType#getExecCount <em>Exec Count</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #isSetExecCount()
   * @see #getExecCount()
   * @see #setExecCount(int)
   * @generated
   */
  void unsetExecCount();

  /**
   * Returns whether the value of the '{@link fi.jab.esb.config.xml.SimpleScheduleType#getExecCount <em>Exec Count</em>}' attribute is set.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return whether the value of the '<em>Exec Count</em>' attribute is set.
   * @see #unsetExecCount()
   * @see #getExecCount()
   * @see #setExecCount(int)
   * @generated
   */
  boolean isSetExecCount();

  /**
   * Returns the value of the '<em><b>Frequency</b></em>' attribute.
   * The default value is <code>"10"</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * Schedule frequency, in seconds.
   * <!-- end-model-doc -->
   * @return the value of the '<em>Frequency</em>' attribute.
   * @see #isSetFrequency()
   * @see #unsetFrequency()
   * @see #setFrequency(long)
   * @see fi.jab.esb.config.xml.XmlPackage#getSimpleScheduleType_Frequency()
   * @model default="10" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long"
   *        extendedMetaData="kind='attribute' name='frequency'"
   * @generated
   */
  long getFrequency();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.SimpleScheduleType#getFrequency <em>Frequency</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Frequency</em>' attribute.
   * @see #isSetFrequency()
   * @see #unsetFrequency()
   * @see #getFrequency()
   * @generated
   */
  void setFrequency(long value);

  /**
   * Unsets the value of the '{@link fi.jab.esb.config.xml.SimpleScheduleType#getFrequency <em>Frequency</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @see #isSetFrequency()
   * @see #getFrequency()
   * @see #setFrequency(long)
   * @generated
   */
  void unsetFrequency();

  /**
   * Returns whether the value of the '{@link fi.jab.esb.config.xml.SimpleScheduleType#getFrequency <em>Frequency</em>}' attribute is set.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return whether the value of the '<em>Frequency</em>' attribute is set.
   * @see #unsetFrequency()
   * @see #getFrequency()
   * @see #setFrequency(long)
   * @generated
   */
  boolean isSetFrequency();

} // SimpleScheduleType
